package com.jingzhi.huimiao.bean;

import java.util.Arrays;

/**
 * 提交选择的角色接收到的数据
 * 
 * @author cxk
 *
 *
 */
public class RoleInfo {
	private String fan;
	public RightInfo[] right;
	public WordId wordId;
	public Long role;
	public long uid;
	
	public static class RightInfo{
		public Long id;
		public float rightLv;
		public Long taskId;
		public Long userId;
		@Override
		public String toString() {
			return "RightInfo [id=" + id + ", rightLv=" + rightLv + ", taskId="
					+ taskId + ", userId=" + userId + "]";
		}
		
		
		
	}
	
	public class WordId{
		private Long id;
		private Long userId;
		private Long wordId;
		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
		public Long getUserId() {
			return userId;
		}
		public void setUserId(Long userId) {
			this.userId = userId;
		}
		public Long getWordId() {
			return wordId;
		}
		public void setWordId(Long wordId) {
			this.wordId = wordId;
		}
		@Override
		public String toString() {
			return "RightInfo [id=" + id + ", userId=" + userId + ", wordId="
					+ wordId + "]";
		}
	}

	public String getFan() {
		return fan;
	}

	public void setFan(String fan) {
		this.fan = fan;
	}

	@Override
	public String toString() {
		return "RoleInfo [fan=" + fan + ", right=" + Arrays.toString(right)
				+ ", wordId=" + wordId + "]";
	}
	
	
}
